Creates a straight line between the vertices of a polygon, polyline or freehand line.